home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Warrior’s Progress / source code / Source / Libraries / Activation / WindowFocus.h < prev   
Encoding:
Text File  |  1997-06-28  |  382 b   |  29 lines  |  [TEXT/CWIE]

  1. // WindowFocus.h
  2.  
  3. #ifndef WindowFocus_h
  4. #define WindowFocus_h
  5.  
  6. #ifndef RootFocus_h
  7. #include "RootFocus.h"
  8. #endif
  9. #ifndef ListOf_h
  10. #include "ListOf.h"
  11. #endif
  12.  
  13. class SubWindowFocus;
  14.  
  15. class WindowFocus: public Focus
  16.   {
  17.     friend class SubWindowFocus;
  18.     
  19.     private:
  20.         ListOf< SubWindowFocus > subFoci;
  21.         
  22.     public:
  23.         WindowFocus()
  24.           : Focus( below, RootFocus::The() )
  25.           {}
  26.   };
  27.  
  28. #endif
  29.